@import '/old/css/css/common';
body,html{
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow: scroll;
  -webkit-overflow-scrolling : touch;
}
html{
  background: rgb(247,247,247);
}
body{
  padding: 14px 11px 0;
  background: #fff;
  //background: rgb(247,247,247);
  overflow: scroll;
  -webkit-overflow-scrolling : touch;
}
input{
  border: 1px solid rgb(221,221,221);
  -webkit-appearance: none;
  padding: 0 8px;
  font-size: 14px;
}
.hidden{
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}
.main{
  overflow: scroll;
  -webkit-overflow-scrolling : touch;
}
header{
  text-align: center;
  font-size: 16px;
  line-height: 22px;
  background: rgb(250,139,57);
  color: #fff;
  padding: 16px 20px;
}
section{
  article{
    padding: rem(22px) 0;
    font-size: 14px;
    line-height: 20px;
    color: rgb(102,102,102);
    border-bottom: 1px solid rgb(221,221,221);
  }
  ul{
    li{
      display: none;
      &.show{
        display: block;
      }
      .title{
        font-size: 15px;
        color: rgb(51,51,51);
        line-height: 24px;
        vertical-align: top;
        font-weight: 500;
        margin: 13px 0;
        i{
          display: inline-block;
          color: red;
          font-size: 15px;
          line-height: 17px;
          vertical-align: baseline;
          font-weight: 600;
        }
        &:before{
          content: '';
          width: 4px;
          height: 24px;
          display: inline-block;
          background: rgb(250,139,57);
          vertical-align: top;
          margin-right: 10px;
        }
      }
      .options{
        padding: 0 8px;
        background: #fff;
        border: 1px solid rgb(221,221,221);
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
        .option{
          font-size: 0;
          border-bottom: 1px solid rgb(221,221,221);
          @include flexflowRow();
          @include displayflex();
          -webkit-box-pack: start;
          -ms-flex-pack: start;
          -webkit-justify-content: flex-start;
          justify-content: flex-start;
          -webkit-box-align: center;
          -ms-flex-align: center;
          -webkit-align-items: center;
          align-items: center;
          &:last-child{
            border-bottom: none;
          }
          i{
            width: 16px;
            height: 16px;
            display: block;
            vertical-align: top;
            margin: 10px 10px 10px 0;
            &.radio{
              background: url(/old/images/questionnaire/radio_icon.png) no-repeat center;
              background-size: contain;
            }
            &.checkbox{
              background: url(/old/images/questionnaire/checkbox_icon.png) no-repeat center;
              background-size: contain;
            }
          }
          span{
            display: block;
            font-size: 14px;
            color: rgb(89,89,89);
            line-height: 16px;
            margin: 10px 0;
          }
          &.selected{
            i.radio{
                background: url(/old/images/questionnaire/selected_radio_icon.png) no-repeat center;
                background-size: contain;
            }
            i.checkbox{
              background: url(/old/images/questionnaire/selected_checkbox_icon.png) no-repeat center;
              background-size: contain;
            }
            span{
              color: rgb(190,190,190);
            }
          }
          img{
            display: block;
            width: 28px;
            height: 28px;
            margin: 4px 6px;
          }
          input{
            display: block;
            margin: 4px 0;
            height: 30px;
            min-width: 50px;
            border-radius: 3px;
            -webkit-border-radius: 3px;
            @include flex(1);
          }
        }
      }
      .remark{
        font-size: 14px;
        color: rgb(89,89,89);
        padding: 15px 0 0;
        @include flexflowRow();
        @include displayflex();
        label{
          font-size: 14px;
          color: rgb(89,89,89);
          line-height: 34px;
        }
        input{
          height: 34px;
          border: 1px solid rgb(221,221,221);
          -webkit-border-radius: 4px;
          -moz-border-radius: 4px;
          -ms-border-radius: 4px;
          -o-border-radius: 4px;
          border-radius: 4px;
          @include flex();
        }
      }
      .blank{
        input{
          width: 100%;
          height: 34px;
          border: 1px solid rgb(221,221,221);
          -webkit-border-radius: 4px;
          -moz-border-radius: 4px;
          -ms-border-radius: 4px;
          -o-border-radius: 4px;
          border-radius: 4px;
        }
      }
    }
  }
}
footer{
  padding: 15px 0;
  a{
    display: block;
    height: 40px;
    line-height: 40px;
    background: rgb(250,139,57);
    color: #fff;
    text-align:center;
    font-size: 16px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    &.disabled{
      background-color: rgb(252,197,156);
    }
  }
}